package com.lbb.http.log

import android.util.Log
import com.lbb.http.BuildConfig
import okhttp3.logging.HttpLoggingInterceptor

class OkHttpLog : HttpLoggingInterceptor.Logger {

    override fun log(message: String) {
        if (BuildConfig.DEBUG) {
            Log.i("Http", message)
        }
    }
}